package com.hula.onion.book.server.vo;


import com.hula.onion.book.server.model.User;

/**
 * Created by shanchangyu on 16/10/14.
 */
public class UserVo {
    private int id;
    private String phone;
    private String wxNickName;
    private String wxHeadPic;
    private String qqNickName;
    private String qqHeadPic;
    private String wxOpenid;
    private String qqOpenid;
    private Integer channelId;

    public UserVo() {
    }

    public UserVo(User user) {
        this.id = user.getId();
        this.phone = user.getPhone();
        this.wxHeadPic = user.getWxHeadPic();
        this.wxNickName = user.getWxNickName();
        this.qqHeadPic = user.getQqHeadPic();
        this.qqNickName = user.getQqNickName();
        this.wxOpenid = user.getWxOpenid();
        this.qqOpenid = user.getQqOpenid();
        this.channelId = user.getChannelId();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWxNickName() {
        return wxNickName;
    }

    public void setWxNickName(String wxNickName) {
        this.wxNickName = wxNickName;
    }

    public String getWxHeadPic() {
        return wxHeadPic;
    }

    public void setWxHeadPic(String wxHeadPic) {
        this.wxHeadPic = wxHeadPic;
    }

    public String getQqNickName() {
        return qqNickName;
    }

    public void setQqNickName(String qqNickName) {
        this.qqNickName = qqNickName;
    }

    public String getQqHeadPic() {
        return qqHeadPic;
    }

    public void setQqHeadPic(String qqHeadPic) {
        this.qqHeadPic = qqHeadPic;
    }

    public String getWxOpenid() {
        return wxOpenid;
    }

    public void setWxOpenid(String wxOpenid) {
        this.wxOpenid = wxOpenid;
    }

    public String getQqOpenid() {
        return qqOpenid;
    }

    public void setQqOpenid(String qqOpenid) {
        this.qqOpenid = qqOpenid;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }
}
